-- GENERATED SPELL FOR [Arantir] --


function spell0_7009(pUnit, Event) --@Arantir\'s Anger,Self--
pUnit:FullCastSpellOnTarget(9733,pUnit)
pUnit:RegisterEvent('Sorts_7009', 4000, 1)
end

function Sorts_7009(pUnit, Event)
local choix_sorts_7009 = math.random(0, 0)
if choix_sorts_7009 == 0 then
pUnit:RegisterEvent('spell0_7009', 1, 1)
end
end

function mob7009_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7009', math.random(1500, 3000), 1)
end

function mob7009_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7009_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7009_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7009, 1, 'mob7009_Action')
RegisterUnitEvent(7009, 2, 'mob7009_Leave')
RegisterUnitEvent(7009, 3, 'mob7009_Kill')
RegisterUnitEvent(7009, 4, 'mob7009_Die')
